package com.itqf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
@Data
public class SysMenu implements Serializable {

    @TableId(value = "menu_id",type = IdType.AUTO)
    private Long menuId;

    private Long parentId;

    private String name;

    private String url;

    private String perms;

    private Integer type;

    private String icon;

    private Integer orderNum;

    private Integer isDelete;

    //目录下的子菜单
    private List<SysMenu> list;

    //菜单的父目录
    private  String parentName;


}